function y = e_wh(x)
% Extended White & Holst function
%x0=[-1.2, 1, -1.2, 1, ..., -1.2, 1]
%fmin=n/2
%Author:shi yangyang
n=length(x);
m=n/2;
z=ones(1,m);
for ii=1:m
    z(ii)=(10*(x(2*ii)-x(2*ii-1)^3))^2+(1-x(2*ii-1))^2;
end
y=sum(z);